body {
    padding-top: 0px;
    background: #f5f5f5;
    font-family: sans-serif;
    /*padding-left: 5%;
    padding-right: 5%;*/
    box-shadow: 0px 0px 5px 5px #D6D6D6;
    width: 85%;
}

body.popup{
	padding-top: 0px;
    /*padding-left: 5%;
    padding-right: 5%;*/
    width: 95%;
}
.loading {
	display: none;
	z-index: 2;
	position: fixed;
  	top: 40%;
  	left: 50%;
	width: 50px;
	
	margin-left: -25px;
  	margin-top: -50px;
	
	text-align: justify;
	font-size: 1.2em;
	font-weight: bold;
	
}

div.datos-pedido{
	margin-left:10%;
	width: 80%;
	background-image: -moz-linear-gradient(top, #094031, #457B6D);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#094031),
		to(#457B6D));
	background-image: -webkit-linear-gradient(top, #094031, #457B6D);
	background-image: -o-linear-gradient(top, #094031, #457B6D);
	background-image: linear-gradient(to bot, #094031, #457B6D);
	background-repeat: repeat-x;
	color: white;
	border-radius: 10px;
	border-style: solid;
	border-color: #094031;
	
}

div.datos-pedido td{
	margin: 0px 0px 5px 15px;
    padding: 0px 0px 5px 15px;
}

div.datos-bitacora{
	margin-left:5%;
	width: 90%;
	background-image: -moz-linear-gradient(top, #457B6D, #094031);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#457B6D),
		to(#094031));
	background-image: -webkit-linear-gradient(top, #457B6D, #094031);
	background-image: -o-linear-gradient(top, #457B6D, #094031);
	background-image: linear-gradient(to bot, #457B6D, #094031);
	background-repeat: repeat-x;
	color: white;
	border-radius: 10px;
	border-style: solid;
	border-color: #094031;
	display:none;
	
}

table.datos-pedido{
	font-size:14px;
	margin-left: 5%;
	width: 100%;
}

#pop {
    left: 10%;
    position: absolute;
    top: 35%;
    width: 100%;
    height: 30%;
    z-index: 1001;
}

.content-popup {
    position:relavite;
    padding:8px;
    width:80%;
    min-height:40%;
    height:100%;
    box-shadow: 0 2px 5px #666666;
}

.popup-overlay {
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 999;
    display:none;
    background-color: #777777;
    cursor: pointer;
    opacity: 0.7;
}

#container{
	z-index: 950;
    background: #1C1C1C;
    position:absolute;
    left:0px;
    opacity: 0.6;
    top:0px;
    width:100%;
    height:150%;
}

.header {
    text-align: center;
        	background: #ffffff;
}

.header2 {
        margin: 20px;
}


body > .navbar .brand {
    color: #000000;
    font-weight: bold;
    margin-left: 0;
    margin-right: 20px;
    padding-left: 0;
    padding-right: 0;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 30px rgba(255, 255, 255, 0.125);
}



.navbar .brand:hover {
    color: #0099ff;
}

/* added to fix non clickable dropdown nested menus on mobile browsers APF-1384 */
.navbar .dropdown-backdrop {
	position: static;
}

#switchLocale {
    position: absolute;
    line-height: 40px;
    right: 6%;
    
}

#switchLocaleLang {
    position: absolute;
    line-height: 40px;
    left: 940px;
    
}

h1, h2 {
    margin-bottom: 10px;
}

legend {
    margin-bottom: 0;
}

/* FORMS */

.controls.readonly {
    padding-top: 5px;
}

.well.form-horizontal .form-actions {
    margin-bottom: 0;
}

.btn-group {
    margin-bottom: 10px;
}

.btn-group .btn, .form-actions .btn {
    margin-left: 5px;
}

#search {
    float: right;
    margin-top: -40px;
}

#search input[type="text"] {
    display: inline-block;
}

.filter {
    float: left;
    padding-top: 10px;
    width: 100%;
    position: relative;
    display: inline-block;
    background-color: #f5f5f5;
	border-top: 1px solid #e5e5e5;
	
    
}

.filter fieldset {
	margin-left: 10px;
	margin-right: 10px;
    float: left;
    width:130px;
    position: relative;
    display: inline-block;
}

.filter fieldset select {
    width:150px;
}

.actionsfilter {
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
    vertical-align: bottom;
    margin-bottom: 10px;
    background-color: #f5f5f5;
	
}

.form-signin {
    max-width: 300px;
    padding: 19px 29px 29px;
    margin: 20px auto 20px;
    /*background-color: #F2F2F2; */
    background-color: #fafafa;
	background-image: -moz-linear-gradient(left, #457B6D, #094031);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#457B6D),
		to(#094031));
	background-image: -webkit-linear-gradient(left, #457B6D, #094031);
	background-image: -o-linear-gradient(left, #457B6D, #094031);
	background-image: linear-gradient(to right, #457B6D, #094031);
	background-repeat: repeat-x;
    
    border: 1px solid #000;
    -webkit-border-radius: 5px;
    -moz-border-radius: 25px;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    text-align: center;
}

.form-signin .form-signin-heading {
	color: #fff;
    margin: 0 0 20px 0;
}

.form-signin .checkbox {
    margin-bottom: 10px;
}

.form-signin input[type="text"],
.form-signin input[type="password"] {
    font-size: 16px;
    height: auto;
    margin-bottom: 15px;
    padding: 7px 9px;
}

#login p {
    text-align: center
}

/* When using Wicket tag id can be overridden - using class here seems to more universal */
.login p {
    text-align: center
}

.span7 > form.well, .span7 > form.well {
    margin-top: 20px;
}

form input {
    width: 90%;
}

/* TABLES */

th.sorted a, th.sortable a {
    display: block;
}

.table th.order1 a {
    background-image: url(../images/arrow_down.png);
}

.table th.order2 a {
    background-image: url(../images/arrow_up.png);
}

.table th.sorted a, .table th.sortable a {
    background-position: right;
    background-repeat: no-repeat;
    display: block;
}

div.exportlinks a {
    text-decoration: none;
}

div.exportlinks span {
    background-repeat: no-repeat;
    background-position: 1px 2px;
}

span.csv {
    background-image: url(../images/ico_file_csv.png);
}

div.busqueda{
	margin-left: 10%;
	color: #000000;
	font-size: 18px;
	border-radius: 10px;
	background-color: #f5f5f5;
	width: 80%;
	align: center;
}

div.bitacorafirmas{
	margin-left: 10%;
	color: #000000;
	font-size: 18px;
	border-radius: 10px;
	background-image: -moz-linear-gradient(right, #457B6D, #094031);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#457B6D),
		to(#094031));
	background-image: -webkit-linear-gradient(right, #457B6D, #094031);
	background-image: -o-linear-gradient(right, #457B6D, #094031);
	background-image: linear-gradient(to left, #457B6D, #094031);
	background-repeat: repeat-x;
	width: 80%;
	align: center;
	display:none;
}

div.filtro{
	margin-left:2%;
	color: #000000;
	font-size: 16px;
	background-color: #f5f5f5;
	width: 95%;
	align: left;
}

div.filtroshow{
	margin-left:2%;
	color: #000000;
	font-size: 16px;
	background-color: #f5f5f5;
	width: 95%;
	align: left;
	text-margin:2%;
}

div.resultados{
	margin-left: 2%;
	color: #000000;
	font-size: 15px;
	border-radius: 10px;
	border-style: solid;
	border-color: #494949;
	background-color: #DCDCDC;
	width: 96%;
	align: center;
}

.table{
	text-align:center;
	background-color: #A4A4A4;
	border-radius: 10px;
}


tr.odd{
    background-color: #ffffff;
}

tr.even{
	background-color: #E6E6E6;
}

th{
	align:center;
}


table.datos{
	margin-left: 10%;
	width: 100%;
}



span.excel {
    background-image: url(../images/ico_file_excel.png);
}

span.pdf {
    background-image: url(../images/ico_file_pdf.png);
}

span.xml {
    background-image: url(../images/ico_file_xml.png);
}

span.export {
    cursor: pointer;
    display: inline-block;
    padding: 0 4px 1px 20px;
}

span.pagebanner {
    display: block;
    margin: 0 0 0 10px;
    padding: 2px 4px 2px 0;
}

span.pagelinks {
    display: block;
    font-size: .95em;
    margin-bottom: 5px;
    margin-top: -18px;
    padding: 2px 0 2px 0;
    text-align: right;
    width: 80%;
}

/* FOOTER */
#footer {
    clear: both;
    margin: 0 auto;
    /*padding: 10px 0 20px 0;*/
    /*border-top: 4px solid #f0f0f0;*/
    text-align: center;
    background-color: white;
    color: #808080;
    font-size: 0.9em;
}

#footer a {
    color: #808080;
    text-decoration: none;
    margin-left: 5px;
}

#footer a:hover {
    text-decoration: underline;
}

#footer p {
    margin: 0;
}

#footer span.left, #footer span.right {
    text-align: center;
    margin: 5px;
    padding: 0 10px;
}

/* END FOOTER */

.hide {
    display: none;
}

.left {
    margin: 10px 10px 5px 0;
    float: left;
}

.right {
    margin: 10px 0 5px 10px;
    float: right;
}

/* Responsive
-------------------------------------------------- */

/* Desktop large
------------------------- */
@media (min-width: 1200px) {

}

/* Desktop
------------------------- */
@media (max-width: 980px) {

}

/* Tablet to desktop
------------------------- */
@media (min-width: 768px) and (max-width: 980px) {
    /* Remove any padding from the body */
    body {
        padding-top: 0;
    }
}

/* Tablet
------------------------- */
@media (max-width: 767px) {
    /* Remove any padding from the body */
    body {
        padding-top: 0;
    }
}

/* Landscape phones
------------------------- */
@media (max-width: 480px) {
    body {
        padding-top: 0;
    }

    body > .navbar .brand {
        margin-left: 10px;
    }

    #search {
        float: none;
        margin-top: 0;
    }
}

/* Wicket */
.table thead tr th.wicket_orderDown a {
    background-image: url(../images/arrow_down.png) !important;
    background-position: right center;
    background-repeat: no-repeat;
    display: block;
    /*padding-right: 15px;*/
}

.table thead tr th.wicket_orderUp a {
    background-image: url(../images/arrow_up.png) !important;
    background-position: right center;
    background-repeat: no-repeat;
    display: block;
}

/* Fix for Bootstrap theme errors in PrimeFaces: http://forum.primefaces.org/viewtopic.php?f=9&t=19250&start=10 */
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {
    background: url("") repeat-x scroll 50% 50% #CD0A0A;
    border: 1px solid #CD0A0A;
    color: #FFFFFF;
}

img.alert-icon {
	margin-left: 0px;
	margin-right: 5px;
	margin-top: -3px;
	width: 16px;
	height: 16px;
}

img.icon {
	width: 24px !important;
	height: 24px !important;
}

img.plus {
	width: 14px;
	height: 14px;
}

/* css for timepicker */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 45%; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; }
.ui-timepicker-rtl dl dt{ float: right; clear: right; }
.ui-timepicker-rtl dl dd { margin: 0 45% 10px 10px; }
